﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Input;

namespace ZeekGame
{
    class Zeek : Character
    {
        Vector2 posicao;
        Sprite[] sprites = new Sprite[3];
        SpriteBatch spriteBatch;
        bool isActive;

        public Zeek(ContentManager Content, SpriteBatch spriteBatch) : base(0)
        {
            this.spriteBatch = spriteBatch;
            posicao = new Vector2(400, 300);
            sprites[0] = new Sprite(Content.Load<Texture2D>("zeekParado1"), posicao);
            sprites[1] = new Sprite(Content.Load<Texture2D>("zeekParado2"), posicao);
            sprites[2] = new Sprite(Content.Load<Texture2D>("zeekParado3"), posicao);
            LoadSprites(sprites);
        }
        public void Update(KeyboardState key, MouseState mouse)
        {
            if (isActive)
            {

            }
            else
            {
                
            }
        }
        public void Draw()
        {
            spriteBatch.Begin();

            spriteBatch.Draw(sprites[actualSprite].Texture,
                new Rectangle(
                    (int)sprites[actualSprite].Position.X,
                    (int)sprites[actualSprite].Position.Y,
                    (int)sprites[actualSprite].Size.X,
                    (int)sprites[actualSprite].Size.Y),
                    Color.White);

            spriteBatch.End();
        }

    }
}
